package com.onstar.cn.mag.dealer;

import com.onstar.cn.mag.CoordinateEntity;

import java.io.Serializable;

/**
 * @author Xiaofeng Feng
 * @ClassName: PreferredDealerEntity
 * @Description: POI实体 PreferredDealer相关接口返回的Response实体
 * @date 2015年8月11日 下午2:15:18
 */
public class PreferredDealerEntity implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    /*
     * {"dealerName":"ABC","distance":200.0,"vin":"333","cityCode":"SH",
     * "dealerBrand":"BUICK",
     * "currentLocation":{"longitude":34.555,"latitude":12.333},
     * "dealerCode":"ABC","companyName":"安吉星","telephone":"58000000","address":
     * "田林路3888号新业园", "cityName":"上海","postcode":"200000","province":"SH",
     * "locationCoordinate":{"longitude":56.777,"latitude":45.666},
     * "directionCoordinate":{"longitude":56.777,"latitude":45.666}}
     */
    private String id;
    private String dealerName;
    private double distance;
    private String distanceWithUnit;
    private String vin;
    private String cityCode;
    private String dealerBrand;
    private CoordinateEntity currentLocation;
    private CoordinateEntity locationCoordinate;
    private CoordinateEntity directionCoordinate;
    private String dealerCode;
    private String companyName;
    private String telephone;
    private String address;
    private String cityName;
    private String postcode;
    private String province;
    private boolean isPreferredDealer;
    private String partyID;

    public String getPartyID() {
        return partyID;
    }

    public void setPartyID(String partyID) {
        this.partyID = partyID;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public String getDistanceWithUnit() {
        return distanceWithUnit;
    }

    public void setDistanceWithUnit(String distanceWithUnit) {
        this.distanceWithUnit = distanceWithUnit;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getDealerBrand() {
        return dealerBrand;
    }

    public void setDealerBrand(String dealerBrand) {
        this.dealerBrand = dealerBrand;
    }

    public CoordinateEntity getCurrentLocation() {
        return currentLocation;
    }

    public void setCurrentLocation(CoordinateEntity currentLocation) {
        this.currentLocation = currentLocation;
    }

    public CoordinateEntity getLocationCoordinate() {
        return locationCoordinate;
    }

    public void setLocationCoordinate(CoordinateEntity locationCoordinate) {
        this.locationCoordinate = locationCoordinate;
    }

    public CoordinateEntity getDirectionCoordinate() {
        return directionCoordinate;
    }

    public void setDirectionCoordinate(CoordinateEntity directionCoordinate) {
        this.directionCoordinate = directionCoordinate;
    }

    public String getDealerCode() {
        return dealerCode;
    }

    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public boolean getIsPreferredDealer() {
        return isPreferredDealer;
    }

    public void setPreferredDealer(boolean preferredDealer) {
        isPreferredDealer = preferredDealer;
    }

}
